#pragma once
#include "StdAfx.h"
class ModelDesc
	:public GameResourceDesc
{
public:
	string MeshName, TextureName;
};
class Model
	: public GameResource
{
public:
	Model(GameResourceDesc &desc):GameResource(desc){};
	Model(ModelDesc&);
	~Model(void);
	enum ModelShape{Box, Sphere, Cylinder, None};
	ModelShape Shape;
	sptr<GameResource> Mesh, Material;
	virtual void LoadFromFile();
	virtual void SaveToFile();
};

